package com.hdax.dm.mapper.scheduler;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdax.dm.entity.scheduler.OrderScheduler;
import org.apache.ibatis.annotations.Param;

public interface OrderSchedulerMapper extends BaseMapper<OrderScheduler> {

    OrderScheduler selectOrderScheduler(@Param("x")Long x,
                                        @Param("y")Long y,
                                        @Param("scheduleId")Long scheduleId);

    boolean updateSeatState(@Param("orderNo") String orderNo, @Param("userId")Long userId, @Param("id")Long id);

    boolean updateSeatState3(@Param("orderNo")String orderNo);

    boolean timeOutUpdateStart(@Param("orderNo") String orderNo);

}
